<?php
declare (strict_types = 1);
namespace app\common\service;

use think\Request;
use app\common\service\BaseService;
use app\common\logic\Verify as VerifyLogic;


/**
 * 短信接口类
 */
class Sms extends BaseService
{
    
    public function verify(Request $request)
    {
        $data = $request->post();
        $re   = app(VerifyLogic::class)->send($data);

        return $this->parseToData($re, 1, '发送成功');
    }


}
